package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.TeacherInfo;
import com.internship.page.Pagination;

public interface TeacherInfoDao {
	public TeacherInfo geTeacherInfoByZGH(String ZGH);
	public List<TeacherInfo>  getTeacherInfoList(@Param("BM") String BM ,@Param("XM") String XM ,Pagination page);
	public List<TeacherInfo>  getDistributionTeacherInfoList(@Param("BM") String BM );
	public List<TeacherInfo>  getTeacherInfoList();
	public int addTeacherInfo(TeacherInfo teacherInfo);
	public int updateTeacherInfo(TeacherInfo teacherInfo);
	public int updatePhone(TeacherInfo teacherInfo);
	public int delTeacherInfo(@Param("ZGH") String ZGH);
	public int delAll(String[] ids);

}
